package kyungjoon.wisdom;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;


public class WisdomUtils
{
	
	
	public static int getRandNum(int lastNum, int prevRowid)
	{
		Random oRandom = new Random();

		// 1~10까지의 정수를 랜덤하게 출력
		int result= oRandom.nextInt(lastNum) + 1;
		
		int prevRowid2= prevRowid;
		
		if ( result == prevRowid)
		{
			while(result != prevRowid2)
			{
				result= oRandom.nextInt(lastNum) + 1;
			}
		}
		
		System.out.println(result);
		
		return result;
	}
	public static int getRandNum(int lastNum)
	{
		Random oRandom = new Random();

		// 1~10까지의 정수를 랜덤하게 출력
		int result= oRandom.nextInt(lastNum) + 1;
		
		
		
		System.out.println(result);
		
		return result;
	}
	
	static List<String>  quoteList = new ArrayList<String>();
	
	public static List makeQuoteList()
	{

		
		
		/*quoteList.add("고경준은 천재다");
		quoteList.add("고경준은 천재다22");
		quoteList.add("돈이 많고 잘생겼다");
		// 말한마디에 천냥 빚을 갚느니라)
		quoteList.add("말한마디에 천냥 빚을 갚느니라");
		// 온 세상은 하나의 무대이고; 모든 남녀(인생)들은 God의 연출자인져
		quoteList.add("온 세상은 하나의 무대이고; 모든 남녀(인생)들은 God의 연출자인져");
		quoteList.add("온 세상은 두개의 무대이고; 모든 남녀(인생)들은 God의 연출자인져");
		quoteList.add("계란을 한바구니에 담지 마라");
		// quoteList.add(" ");
		quoteList.add("행운은 즐거운 문으로 들어온다! ");
		quoteList.add("오는 말이 고와야 가는 말이 곱다 ");
		quoteList
				.add("잃어버린 부는 근면으로, 잃어버린 지식은 공부로, 잃어버린 절제와 약으로 치유할 수 있지만, 당신의 잃어버린 시간은, 영원히 되돌릴 수 없다구요! ");
		quoteList.add("인생은 단 한번 뿐이느니 ");
		// 눈물 젖은 빵을 먹어봐야 인생 아느니라
		quoteList.add("눈물 젖은 빵을 먹어봐야 인생 아느니라 ");
		// 우리가 이토록 아름다운 세상에서요; 건강하게 살고 있다는 것은 참으로 행운이니라
		quoteList.add("우리가 이토록 아름다운 세상에서요; 건강하게 살고 있다는 것은 참으로 행운이니라 ");
		// 펜은 칼보다 강하다."
		quoteList.add("너무 책에 빠지면 몸에 해롭다 ");
		quoteList.add(" Only by doing can you really know.");
		quoteList.add("펜은 칼보다 강하다 ");
		quoteList.add("A bad workman blames his tools");

		quoteList.add("Barking dogs seldom bite. ");
		quoteList
				.add("Meaning: People who are busy complaining rarely take more concrete hostile action.");
		quoteList
				.add("Alternate meaning: Those who cast threats will seldom follow through with them");
		quoteList.add("Barking up the wrong tree.");
		quoteList.add("Be careful before every step.");
		quoteList.add("Be careful what you wish for, you just might get it.");
		quoteList.add("A bean in liberty is better than a comfit in prison.");
		quoteList.add("Before criticizing a man, walk a mile in his shoes.");
		quoteList
				.add("Meaning: One should not criticize a person without understanding their situation.");
		quoteList.add("Beggars can't be choosers. ");
		quoteList
				.add("Meaning: Those who are in need of help can't afford to be too demanding.");
		quoteList.add("Beginning is half done.");
		quoteList.add("Quoted by Dr. Robert Schuller, West Coast clergyman.");
		quoteList.add("The belly has no ears. ");
		quoteList
				.add("This Proverb intimates, that there is no arguing the Matter with Hunger,");
		quoteList.add("the Mother of Impatience and Anger.");
		quoteList
				.add("I don't argue with the body Jerry. It's an argument you can't win. - Kramer");
		quoteList.add("A bellyful is one of meat, drink, or sorrow.");
		quoteList.add("A bellyful of food is a good one.");
		quoteList.add("The best is yet to come.");
		quoteList.add("The best of friends need not speak face to face.");
		quoteList.add("The best things come in small packages.");

		
		quoteList.add("The best things in life are free.");
		quoteList.add("Better is the enemy of good.");
		quoteList.add("Better late than never. ");
		quoteList.add("Meaning: It's better to make an effort to keep an appointment than to give up altogether when you discover you will be late.");
		quoteList.add("Better safe than sorry. ");
		quoteList.add("Meaning: It is better to take precautions when it's possible that something can go amiss than to regret doing nothing later if something should indeed go wrong.");
		quoteList.add("Better the devil you know (than the one you don't).");
		quoteList.add("Better to have it and not need it than to need it and not have it.");
		quoteList.add("Better to remain silent and be thought a fool, than to open your mouth and remove all doubt."); 
		quoteList.add("Variant: Better to remain silent and thought a fool, than to speak and remove all doubt. (often attributed to Abraham Lincoln but taken from Solomon's Proverbs)");
		quoteList.add("Beware of Greeks bearing gifts. ");
		quoteList.add("A reference to the Trojan Horse");
		quoteList.add("Beware of the Bear when he tucks in his shirt.");
		quoteList.add("Beware of the false prophets, who come to you in sheep's clothing, and inwardly are ravening wolves. (Matthew; bible quote)");
		quoteList.add("A big tree attracts the woodsman's axe. ");
		quoteList.add("Meaning: Great people will attract great criticism.");
		quoteList.add("Possible interpretation: The rich make good targets for thieves and burglars.");
		quoteList.add("A bird in the hand is worth two in the bush. ");
		quoteList.add("John Bunyan cites this traditional proverb in The Pilgrim's Progress, (1678):"); 
		quoteList.add("So are the men of this world: They must have all their good things now; they cannot stay till the next year, that is, until the next world, for their portion of good. That proverb,\"A bird in the hand is worth two in the bush\" is of more authority with them than are all the divine testimonies of the good of the world to come.");
		quoteList.add("Birds of a feather flock together. ");
		quoteList.add("Variant: Birds of the same feather flock together."); 
		quoteList.add("Meaning: People who are similar to one another tend to stay together.");
		quoteList.add("Bitter pills may have blessed effects."); 
		quoteList.add("Meaning: Things that seem hard to take or handle at first may have positive and beneficial outcomes.");
		quoteList.add("Blood is thicker than water. ");
		quoteList.add("Meaning: Bonds between family members are stronger than other relationships.");
		quoteList.add("Blood will out. ");
		quoteList.add("Meaning: A person's ancestry or upbringing will eventually show.");
		quoteList.add("Bloom where you are planted. ");
		quoteList.add("Meaning: Excel and flourish where you grow up, or where you fit in; be good at what you do.");
		quoteList.add("A blow with a word strikes deeper than a blow with a sword. ");
		quoteList.add("Robert Burton cites this traditional proverb in The Anatomy of Melancholy (1621):"); 
		quoteList.add("It is an old saying, \"A blow with a word strikes deeper than a blow with a sword:\" and many men are as much galled with a calumny, a scurrilous and bitter jest, a libel, a pasquil, satire, apologue, epigram, stage-play or the like, as with any misfortune whatsoever."); 
		quoteList.add("Part I, Section II, Member IV, Subsection IV");
		quoteList.add("Compare: \"The pen is mightier than the sword.\"");
		quoteList.add("Contrast: \"Sticks and stones may break my bones but words will never hurt me.\"");
		quoteList.add("Born with a silver spoon in his/her mouth. ");
		quoteList.add("Meaning: Born in a rich family.");
		quoteList.add("Boys will be boys. ");
		quoteList.add("Meaning: Boys are traditionally expected to misbehave, while girls are not.");
		quoteList.add("Brag is a good Dog, but Holdfast is a better ");
		quoteList.add("This Proverb is a Taunt upon Braggadoccio's, who talk big, boast, and rattle:");
		quoteList.add("It is also a Memento for such who make plentiful promises to do well for the");
		quoteList.add("future but are suspected to want Constancy and Resolution to make");
		quoteList.add("them good. - Divers Proverbs, Nathan Bailey, 1721 [3]");
		quoteList.add("Brain is better than brawn.");
		quoteList.add("Bread is the stuff of life.");
		quoteList.add("Break the Law as the Law should be beaten.");
		quoteList.add("A burnt child dreads the fire. ");
		quoteList.add("Chinese Version: One bitten by a snake for a snap dreads a rope for a decade.一朝被蛇咬，十年怕井绳");
		quoteList.add("Indian Version: The one burnt by hot milk drinks even cold buttermilk with precaution. Transliteration: Doodh ka jala chhanchh ko bhi phoonk phoonk ke peeta hai.");
		quoteList.add("Meaning: Similar to \"Once bitten, twice shy\"");
		quoteList.add("This Proverb intimates, That it is natural for all living Creatures, whether rational or irrational,");
		quoteList.add("to consult their own Security, and Self-Preservation; and whether they act by Instinct or Reason, it still");
		quoteList.add("tends to some care of avoiding those things that have already done them an Injury. - Divers Proverbs, Nathan Bailey, 1721 [4]");
		quoteList.add("Buy the best and you only cry once.");
		quoteList.add("The calm (comes) before the storm.");
		quoteList.add("A camel is a horse designed by committee."); 
		quoteList.add("Meaning: a vision is more perfect from the individual rather than a group of people where it becomes anodyne.");
		quoteList.add("A candle loses nothing by lighting another candle. ");
		quoteList.add("Attributed to Mevlana Celaleddin-i Rumi");
		quoteList.add("A cat may look at a king. ");
		quoteList.add("Meaning: If a cat may look at the king - then I have a right to look where I please.");
		quoteList.add("A chain is no stronger than its weakest link. ");
		quoteList.add("Meaning: The strength of any group depends on the individual strength of each of its members.");
		quoteList.add("The child is father to the man. ");
		quoteList.add("Meaning: What is true of a child will still be true when it grows up; or, early experiences shape future character.");
		quoteList.add("A closed mouth catches no flies. ");
		quoteList.add("Meaning: You cannot say a bad thing if you don't speak at all.");
		quoteList.add("The coat makes the man.");
		quoteList.add("A coin of gold is delighting in a bag of silver coins"); 
		quoteList.add("Alternative meaning: One who is unique is often praised or receives more pleasure.");
		quoteList.add("Cometh the hour cometh the man. ");
		quoteList.add("(Some information about the phrase and about its use by a 1940's cricketer)");
		quoteList.add("A constant guest is never welcome.");
		quoteList.add("A coward dies a thousand times before his death. The valiant never taste of death but once."); 
		quoteList.add("From William Shakespeare's Julius Caesar[1]");
		quoteList.add("Meaning: The valiant (the brave) take no account of possible danger, whereas cowards are constantly fearing the worst. [2]");
		quoteList.add("The cure is worse than the disease.");
		quoteList.add("The customer is always right.");
		
		
		quoteList.add("Damned if you do, damned if you don't. ");
		quoteList.add("Meaning: Refers to a situation where both possibilities will lead to harm or blame.");
		quoteList.add("Desperate times call for desperate measures.");
		quoteList.add("The difference between a man and a cat or a dog is that only a man can write the names of the cat and the dog.");
		quoteList.add("Different strokes for different folks. ");
		quoteList.add("Meaning: Someone prefers one thing; others, something different.");
		quoteList.add("Discretion is the better part of valour."); 
		quoteList.add("Derived from \"The better part of valour is discretion, in the which better part I have saved my life.\" Falstaff in Shakespere's Henry IV Part One.");
		quoteList.add("Meaning: Caution is preferable to rash bravery.");
		quoteList.add("Does a One Legged Duck swim in circles?");
		quoteList.add("--alternate saying for \"Does a bear shit in the woods\" and a common response to an obvious answer yes to a silly question.");
		quoteList.add("Do it today, tomorrow it may be against the law.");
		quoteList.add("Don't ask God to guide your footsteps if you're not willing to move your feet.");
		quoteList.add("Don't bark if you can't bite. ");
		quoteList.add("meaning - Don't complain if you can't enforce your point of view.");
		quoteList.add("meaning - if you wount do it, dont say you will");
		quoteList.add("Don't bite off more than you can chew."); 
		quoteList.add("Meaning: Do not take on more responsibility than you can handle at any one time.");
		quoteList.add("Don't bite the hand that feeds you. ");
		quoteList.add("Meaning: Behave respectfully or deferentially to those who provide for you.");
		quoteList.add("Don't bring a knife to a gun fight.");
		quoteList.add("Don't burn your bridges. ");
		
		quoteList.add("Don't count your chickens before they're hatched.");
		quoteList.add("Don't cross a bridge before you come to it. ");
		quoteList.add("Meaning: Don't fret unnecessarily about future problems.");
		quoteList.add("Don't cry over spilt milk. ");
		quoteList.add("Meaning: Don't worry about things that have already happened.");
		quoteList.add("Don't cut off your nose to spite your face. ");
		quoteList.add("Interpretation: Do not act to spite someone else if it is damaging to yourself.");
		quoteList.add("Don't dig your grave with your own knife and fork. ");
		quoteList.add("Meaning: Don't do something to yourself which causes your own downfall.");
		quoteList.add("Don't enter your nose in the affairs of others."); 
		quoteList.add("Meaning: Do not mix yourself in others problems.");
		quoteList.add("Don't fall before you're pushed.");
		quoteList.add("Don't have too many irons in the fire."); 
		quoteList.add("Possible interpretation: Do not take on more responsibility than you can handle.");
		quoteList.add("Don't judge a book by its cover. ");
		quoteList.add("Meaning: Do not judge by appearances.");
		quoteList.add("Don't judge a man by the size of his hat, but by the angle of his tilt.");
		quoteList.add("Don't let procrastination eat your own clock. ");
		quoteList.add("Meaning: Don't procrastinate most of the time as your chances and opportunities are wasted away.");
		quoteList.add("Don't look a gift horse in the mouth. ");
		quoteList.add("Possible interpretation: Do not look for faults in a gift.");
		quoteList.add("Don't make a mountain out of a molehill. ");
		quoteList.add("Don't exaggerate small things / Don't make a big deal out of something minor.");
		quoteList.add("Don't mend what ain't broken. ");
		quoteList.add("Alternatively, If it ain't broke, don't fix it.");
		quoteList.add("Alternatively, Leave well enough alone.");
		quoteList.add("Don't put all your eggs in one basket. ");
		quoteList.add("Meaning: Do not rest all your hopes on one eventuality; plan for several cases.");
		quoteList.add("Don't put the cart before the horse. ");
		quoteList.add("Meaning: Do things in the correct order.");
		quoteList.add("Cf. Dan Michael of Northgate, Ayenbite of Inwyt (1340):\"Many religious folk set the plough before the oxen.\" (Middle English: \"Moche uolk of religion зetteþ þe зuolз be-uore þe oksen.\")");
		quoteList.add("Don't raise more Demons than you can lay down. ");
		quoteList.add("Meaning: Do not do more wrongs than you can deal with, or put right.");
		quoteList.add("Don't shut the barn door after the horse is gone. ");
		quoteList.add("Possible interpretation: Prepare for things to go wrong rather than worrying about them after the fact.");
		quoteList.add("Don't spit into the wind. ");
		quoteList.add("Or, Don't piss into the wind.");
		quoteList.add("Meaning, don't take actions which you know will harm yourself or be futile.");
		quoteList.add("Don't spoil the ship for a ha'p'orth of tar. ");
		quoteList.add("Meaning: Don't jeopardize a project - especially a large one - by being miserly or cutting corners."); 
		quoteList.add("quoteList.add(\"A ha\'p\'orth (pronounced haypeth) is a halfpenny-worth, i.e. a very small amount.");
		quoteList.add("Don't take life too seriously; you'll never get out of it alive.");
		quoteList.add("Don't throw the baby out with the bathwater. ");
		quoteList.add("Possible interpretation: Do not, in an attempt to remove something undesirable, lose things that are valuable.");
		quoteList.add("Don't try to teach a pig to sing. It doesn't work, and you'll annoy the pig. ");
		quoteList.add("Meaning: Don't go into a relationship expecting to change your partner, it doesn't work.");
		quoteList.add("Don't worry, God has a plan.");*/

		
		return quoteList;
	}

}
